<?php defined('SYSPATH') or die('No direct script access.');

class Controller_Welcome extends Controller_Template_Website {
        public $template = 'welcome/index';
	public function action_index()
	{		
           HTTP::redirect("admin");
           
	}
        public function action_adduser()
        {
         $this->template->content ='users/add';
        }
//        public function action_json()
//        {
//            $x = new stdClass();
//            $x->var1 = 'var 11';
//            
//            $this->template = View::factory('common/json');
//            $this->template->data = array(
//                'test' => "super info",
//                'xxx' => array(1, 2, 3, 4),
//                'b' => $x
//            );
//        }

} // End Welcome
